Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 22 Jan 2026 22:15:51 +0000 (23:15 +0100)
committerMoritz Mühlenhoff <jmm@debian.org>
Thu, 22 Jan 2026 22:15:51 +0000 (23:15 +0100)
commit731c0e2b3ab9e0b4c9cd079de766a5180863c1a7
tree7cb8e344db8e3b9b40fa2f6a1684a5d3f058ce72
parent7858e62acd4dae5d89bc701fd0292618429cffaf
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp